package com.guli.eduService.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author zxc
 * @date 2023/04/06 14:26
 **/
@Data
// 该注解，不能够用于无属性的实体类中;
@AllArgsConstructor
@NoArgsConstructor
// 最终提交页面所展示的课程信息 所对应的实体类;
public class PublishedCourseVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课程标题")
    private String title;

    @ApiModelProperty(value = "课程封面")
    private String cover;

    @ApiModelProperty(value = "课时总数")
    private Integer lessonNum;

    @ApiModelProperty(value = "所属一级分类")
    private String subjectLevelOne;

    @ApiModelProperty(value = "所属二级分类")
    private String subjectLevelTwo;

    @ApiModelProperty(value = "讲师名字")
    private String teacherName;

    @ApiModelProperty(value = "课程价格")
    private String price;
}
